<!DOCTYPE html>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
	<title>测试文档无标题</title>
	<style type="text/css">
	* {
		padding: 0;
		margin: 0;
	}
    </style>
</head>
<body>
	<h1>Hello</h1>
	
	<script src="https://cdn.staticfile.org/jquery/3.5.1/jquery.js"></script>
	<script type="text/javascript">
	{
	  let $ = window.$ = {};
	  $.web = "后盾人";
	}
	
	
	console.log($.web);


	console.time('aa')
	var str = '';
	for(var i = 0; i< 100000; i ++ ){
		str += i;
	}
	console.timeEnd('aa')


	console.time('bb')

	var start = Date.now();
	var str = '', arr = [];
	for(var i = 0; i< 100000; i ++ ){
		arr.push(i);
	}
	str = arr.join('');
	
	var end = Date.now();
	console.log((end -start).toFixed(2) + 'ms') ;
	console.timeEnd('bb')
	
	

	</script>
</body>
</html>